import { LAYOUT } from '@/router/constants';
import type { RouteRecordItem } from 'vc/src/router';

const Environmental: RouteRecordItem = {
  path: '/keyMonitor',
  component: LAYOUT,
  redirect: '/keyMonitor/cleanerProduction',
  meta: {
    title: '重点监控单位',
    menuIndex: 2,
    subMenuIndex: 4
  },
  children: [
    {
      path: 'cleanerProduction',
      component: () => import('@/views/modules/keyMonitor/cleanerProduction/index.vue'),
      meta: {
        title: '清洁生产审核企业'
      }
    },
    {
      path: 'keySewage',
      component: () => import('@/views/modules/keyMonitor/keySewage/index.vue'),
      meta: {
        title: '重点排污单位'
      }
    },
    {
      path: 'majorEnergyUsers',
      component: () => import('@/views/modules/keyMonitor/majorEnergyUsers/index.vue'),
      meta: {
        title: '重点用能单位'
      }
    }
  ]
};

export default Environmental;
